package com.htj.admin.service;

import com.htj.admin.domain.FrontUser;
import com.htj.vo.PageListVo;

import java.util.Map;

public interface FrontUserServiceInf {
    FrontUser login(String loginAct, String loginPwd);

    boolean bindEmail(String id, String email);

    boolean add(FrontUser frontUser);

    PageListVo<FrontUser> pageList(Map<String, String> map);

    boolean update(FrontUser frontUser);

    boolean delete(Integer id);

    boolean changeStatus(Map<String, Integer> map);

    FrontUser getUserById(String id);

    boolean changeVip(String vipId, String userId);
}
